﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Eventing
{
    public interface IEventSerializer
    {
        byte[] Serialize(object message);

        object Deserialize(byte[] memento);

        TEvent Deserialize<TEvent>(byte[] memento);
    }
}
